<template>
  <div>home

    <button @click="send">发送请求</button>
  </div>

</template>

<script>
import  {getListAPI}  from '../../api/test'
export default {
  methods: {
    send () {
      console.log(getListAPI);
      getListAPI({menu:"糖醋鱼",key:'0ed71597b6167641af66b2c432620482'}).then(res=>{
        console.log(res);
      })

    }
  }
}
</script>

<style>
</style>